<!DOCTYPE html>
<!--
  ~ 版权所有：杭州领域向尚科技有限公司
  ~ 地址：浙江省杭州市滨江区滨安路688号天和高科技产业园5-2311
  ~
  ~ (c) Copyright Hangzhou  Area Up Technology Co., Ltd.
  -->

<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>盛塘发货中心系统</title>

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <link rel="icon" href="../../resource/hotui/img/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css">
    <link href="../../resource/hotui/css/font-awesome.min.css" th:href="@{/resource/hotui/css/font-awesome.min.css}"
          rel="stylesheet">
    <link href="../../resource/hotui/css/plugins/iconfont/iconfont.css"
          th:href="@{/resource/hotui/css/plugins/iconfont/iconfont.css}" rel="stylesheet"/>
    <link href="http://cdn.viptool.cn/lib/animate.css/3.5.2/animate.min.css" rel="stylesheet">
    <link href="../../resource/hotui/css/style.min-1.0.8.css" th:href="@{/resource/hotui/css/style.min-1.0.8.css}"
          rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close">
            <i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <!--<span>-->
                            <!--<img alt="image" style="width: 155px; height: auto;"-->
                                 <!--src="../resource/hotui/img/knife_logo.png">-->
                        <!--</span>-->
                        <p style="height: 20px;"></p>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs"><strong class="font-bold"
                                                                       th:text="${deliveryer.userPO.username}">allan</strong><b
                                            class="caret"></b></span>
                                </span>
                        </a>
                        <input type="hidden" id="supplierId" value="" th:value="${deliveryer.id}"/>

                        <ul class="dropdown-menu animated fadeInDown m-t-xs">
                            <li><a class="J_menuItem" href="#">修改密码</a>
                            </li>
                            <li class="divider"></li>
                            <li><a href="loginout.html" th:href="@{/logout}">安全退出</a>
                            </li>
                        </ul>
                    </div>
                    <div class="logo-element">
                        H+

                    </div>
                </li>
                <li>
                    <a class="J_menuItem" href="index_v1.html" th:href="@{/order/list/1}">
                        <i class="iconfont">&#xe695;</i>
                        <span class="nav-label">订单列表</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="index_v1.html" th:href="@{/delivery/wxbind/list}">
                        <i class="iconfont">&#xe695;</i>
                        <span class="nav-label">微信通知绑定</span>
                    </a>
                </li>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row content-tabs">
            <button class="navbar-minimalize roll-nav roll-left">
                <i class="fa fa-bars"></i>
            </button>
            <button class="roll-nav roll-left J_tabLeft" style="margin-left: 40px">
                <i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs" style="margin-left: 80px;">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" th:attr="data-id=@{/order/list/1}"
                       data-id="http://www.baidu.com">订单列表</a>
                </div>
            </nav>

            <button class="roll-nav roll-right J_tabRight">
                <i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">
                    关闭操作<span class="caret"></span>

                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                    </li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>
            <a href="login.html" th:href="@{/logout}" class="roll-nav roll-right J_tabExit"><i
                    class="fa fa fa-sign-out"></i>退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" th:src="@{/order/list/1}" src="" frameborder="0"
                    th:attr="data-id=@{/order/list/1}"
                    data-id="http://www.baidu.com" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>

<script src="http://cdn.viptool.cn/lib/jquery/2.2.4/jquery.min.js"></script>
<script src="http://cdn.viptool.cn/lib/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="../../resource/hotui/js/hot/bootstrap.hot.extra-utils.js?20190316"
        th:src="@{/resource/hotui/js/hot/bootstrap.hot.extra-utils.js?20190316(123123)}"></script>
<script src="../../resource/hotui/js/plugins/metisMenu/jquery.metisMenu.js"
        th:src="@{/resource/hotui/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script src="../../resource/hotui/js/plugins/slimscroll/jquery.slimscroll.min.js"
        th:src="@{/resource/hotui/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
<script src="../../resource/hotui/js/hplus.min.js?v=4.0.0" th:src="@{/resource/hotui/js/hplus.min.js?v=4.0.0}"></script>
<script type="text/javascript" src="../../resource/hotui/js/contabs.min.js"
        th:src="@{/resource/hotui/js/contabs.min.js}"></script>
<script src="../../resource/hotui/js/plugins/pace/pace.min.js"
        th:src="@{/resource/hotui/js/plugins/pace/pace.min.js}"></script>

<script type="text/javascript" th:inline="javascript">
    function newTab(url, name) {
        var index = false;
        $(".page-tabs-content .J_menuTab").each(function () {
            var dataId = $(this).attr("data-id");
            if (dataId == url) {
                index = true;
                $(this).click();
                var loado = layer.load();
                var jiframe = $('.J_iframe[data-id="' + url + '"]');
                jiframe.attr("src", jiframe.attr("src"));
                jiframe.load(function () {
                    layer.close(loado);
                });
                return false;
            }
        });
        if (!index) {
            var s = '<a href="javascript:;" class="active J_menuTab" data-id="' + url + '">' + name + ' <i class="fa fa-times-circle"></i></a>';
            $(".J_menuTab").removeClass("active");
            var r = '<iframe class="J_iframe" width="100%" height="100%" src="' + url + '" frameborder="0" data-id="' + url + '" seamless></iframe>';
            $(".J_mainContent").find("iframe.J_iframe").hide().parents(".J_mainContent").append(r);
            var o = layer.load();
            $(".J_mainContent iframe:visible").load(function () {
                layer.close(o)
            }),
                $(".J_menuTabs .page-tabs-content").append(s);
        }
    }
</script>
</body>

</html>
